package cn.kgc.springboot05.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author: mosin
 * @version: v1.0  2022/5/20
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class User implements Serializable { // 实体类存入redis之前 需要实现序列化接口

    private  Integer id;
    private String UserName;
    private String password;

}
